package com.example.entity.factory.impl;

import com.example.entity.factory.MessageFactory;
import com.example.entity.message.Message;
import com.example.entity.message.impl.CallMessage;
import com.example.entity.message.impl.CountStartMessage;
import com.example.entity.message.impl.InitMessage;
import com.example.entity.message.impl.TimeSynStartMessage;
import com.example.entity.message.impl.UMessage3;
import com.example.entity.message.impl.UMessage4;

public class UnpooledMessageFactory implements MessageFactory {

	public static final UnpooledMessageFactory DEFAULT = new UnpooledMessageFactory();

	@Override
	public Message newInitMessage() {
		// TODO Auto-generated method stub
		return new InitMessage();
	}

	@Override
	public Message newUMessage3() {
		// TODO Auto-generated method stub
		return new UMessage3();
	}

	@Override
	public Message newUMessage4() {
		// TODO Auto-generated method stub
		return new UMessage4();
	}

	@Override
	public Message newCallMessage() {
		// TODO Auto-generated method stub
		return new CallMessage();
	}

	@Override
	public Message newCountMessage() {
		// TODO Auto-generated method stub
		return new CountStartMessage();
	}

	@Override
	public Message newTimeSynMessage() {
		// TODO Auto-generated method stub
		return new TimeSynStartMessage();
	}

	@Override
	public Message newErrorMessage() {
		// TODO Auto-generated method stub
		return null;
	}

}
